<template>
  <div>
    <input type="checkbox" v-model="arr" value="科幻" />科幻
    <input type="checkbox" v-model="arr" value="喜剧" />喜剧
    <input type="checkbox" v-model="arr" value="冒险" />冒险
    <input type="checkbox" v-model="arr" value="科技" />科技
    <input type="checkbox" v-model="arr" value="军事" />军事
    <input type="checkbox" v-model="arr" value="娱乐" />娱乐
    <input type="checkbox" v-model="arr" value="奇闻" />奇闻
    <!-- <input type="checkbox" v-for="item in arr" :key="item" />{{ item }} -->
    <ul>
      <li v-for="item in arr" :key="item">{{ item }}</li>
    </ul>
  </div>
</template>

<script>
export default {
  data() {
    return {
      arr: [],
      // arr: ["草碧", "抠脚", "刮痧", "干"],
    };
  },
  methods: {},
};
</script>

<style>
</style>
